// 把下面代码用ts重写

import Cookies from "cookies-ts";

const cookies = new Cookies();
const TokenKey = "wisdom_token";

export function getToken() {
  return cookies.get(TokenKey)
}

export function setToken(token: string) {
  return cookies.set(TokenKey, token)
}

export function removeToken() {
  return cookies.remove(TokenKey)
}
